package com.linq.cool.common.security.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * @Author: yqlin
 * @Date: 2020/12/29 15:59
 * @Description: 自定义feign注解 添加basePackages路径
 * @Version: 1.0.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface EnableLinqFeignClients {
    String[] value() default {};

    String[] basePackages() default {"com.linq.cool"};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
